
<h2>소나무이동관리 &gt; 반출금지구역관리 </h2>
<div class="content">
 
  <section class="accordion">
    <h3>검색조건</h3>
    <div>
      <form id="form1" name="form1" method="post" action="">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="searchTb">
          <tr>
            <th scope="row">구역</th>
            <td><select name="select" id="select">
                <option selected="selected">전체</option>
                <option>서울특별시</option>
                <option>경기도</option>
                <option>강원도</option>
              </select>
              <select name="select2" id="select2">
                <option>전체</option>
                <option>유성구</option>
                <option>서구</option>
                <option>동구</option>
              </select>
              <select name="select3" id="select3">
                <option>전체</option>
                <option>구암동</option>
                <option>둔산동</option>
                <option>월평동</option>
              </select></td>
            <th scope="row">수종</th>
            <td><select name="select5" id="select5">
                <option selected>전체</option>
                <option>소나무</option>
                <option>참나무</option>
              </select></td>
          </tr>
          <tr>
            <th scope="row">등록해제여부</th>
            <td><input type="radio" name="radio" id="radio7" value="radio" />
              등록
              <input type="radio" name="radio" id="radio8" value="radio" />
              해제
              <label for="radio8"></label></td>
           <th scope="row">관리기관</th>
            <td><input name="textfield3" type="text" class="" id="textfield3" /></td>
          </tr>
         
          <tr>
            <th rowspan="2" scope="row">기간설정</th>
            <td colspan="3"><input type="radio" name="radio" id="radio3" value="radio" />
              <label for="radio3">등록일</label>
              <input type="radio" name="radio" id="radio4" value="radio" />
              <label for="radio4">수정일</label></td>
          </tr>
          <tr>
            <td colspan="3"><label for="textfield"></label>
              <input name="textfield" type="text" class="datepicker" id="textfield" />
              ~
              <input name="textfield2" type="text" class="datepicker" id="textfield2" /></td>
          </tr>
        </table>
        <div class="btn_dp">
          <button type="button">초기화</button>
          <button type="button" onClick="loadData()">조회</button>
        </div>
      </form>
    </div>
  </section>
  <section>
    <div>
      <div class="btn_dp">
        <button type="button">엑셀 다운로드</button>
        <a href="/Templates/반출금지구역등록.html" class="btn new">등록</a> </div>
      <div style="clear:both">
        <table id="jsonmap">
        </table>
        <div id="pjmap"> </div>
      </div>
      <script type="text/javascript">

		jQuery("#jsonmap").jqGrid({        
			url:'/sample/data20.json',
			datatype: "json",
			colNames : [
						'반출금지구역번호'
						,'관리기관행정코드'
						,'관리행정기관'
						,'행정구역코드'
						,'시도'
						,'시군구'
						,'면동'
						,'리'
						,'발생면적'
						,'등록해제여부'
						,'등록해제일시'
						,'반출금지구역비고'
						,'등록자ID'
						,'등록일시'
						,'수정자ID'
						,'수정일시'	
						],
			colModel:[
				 {name:'반출금지구역번호' ,	width:50, 	align:"center"}
				,{name:'관리기관행정코드' ,	width:70, 	align:"center" , editable:true}
				,{name:'관리행정기관' ,	width:100, 	align:"center" , editable:true}
				,{name:'행정구역코드' ,	width:90, 	align:"left" , editable:true}
				,{name:'시도' ,	width:70, 	align:"center" , editable:true}
				,{name:'시군구' ,	width:70, 	align:"center" , editable:true}
				,{name:'면동' ,	width:70, 	align:"center"	, editable:true}
				,{name:'리' ,	width:70, 	align:"center"	, editable:true}
				,{name:'발생면적' ,	width:100, 	align:"center", editable:true}
				,{name:'등록해제여부' ,	width:50, 	align:"center", editable:true}
				,{name:'등록해제일시' ,	width:100, 	align:"center", editable:true}
				,{name:'반출금지구역비고' ,	width:100, 	align:"center", editable:true}
				,{name:'등록자ID' ,	width:100, 	align:"center", editable:true}
				,{name:'등록일시' ,	width:100, 	align:"center", editable:true}
				,{name:'수정자ID' ,	width:100, 	align:"center", editable:true}
				,{name:'수정일시' ,	width:100, 	align:"center", editable:true}

			]
			, rowNum:20
			, rowList:[10,20,30]
			, pager: '#pjmap'
			, viewrecords: true
			, height: '320'
			, caption : '반출금지구역리스트'
			, autowidth : true
			, shrinkToFit : false
			, editurl : 'test.jsp'
			, onSelectRow : function(rowid, status) {
				if ( status ) {
					var data = $(this).getRowData(rowid);
					$(this).newWin("반출금지구역상세.html", data['사업명']);
				}
			}
			
		});
		jQuery("#jsonmap").jqGrid('navGrid','#pjmap',{}
		, {height:280,reloadAfterSubmit:false} // edit options
		, {height:280,reloadAfterSubmit:false} // add options
		, {reloadAfterSubmit:false} // del options
		, {}
		);
		jQuery("#jsonmap").jqGrid("setFrozenColumns");
		</script> 
    </div>
  </section>
</div>
